package com.pattern.once.clainOfResponsbility.builder;

import com.pattern.once.clainOfResponsbility.AbstractClainLogger;
import com.pattern.once.clainOfResponsbility.Logger;

public class TestMain {

    public static void main(String[] args) {
        LogBuilder logBuilder = new LogBuilder1();


        Logger logger = new Logger();
        logger.setMessage("qqqqqqqq");

        logger.setLevel(4);

        AbstractClainLogger loggerCHain =
                logBuilder.getLoggerCHain();

        loggerCHain.exeuct(logger);


    }

}
